package com.jay.codec

object CodecUtils {
    init {
        System.loadLibrary("avcodec")
        System.loadLibrary("codec")
    }

    external fun configuration(): String

    external fun getAudioInfo(path: String): AudioInfo

    /** mp3 util**/
    external fun flacToMp3(sourcePath: String, destPath: String): Int

    external fun mp3ToFlac(sourcePath: String, destPath: String): Int
}